sap.ui.define([
	"sap/ui/model/json/JSONModel",
	"sap/ui/Device"
], function(JSONModel, Device) {
	"use strict";

	return {
		createDeviceModel: function() {
			var oModel = new JSONModel(Device);
			oModel.setDefaultBindingMode("OneWay");
			return oModel;
		},
		createUserModel: function() {
			var oModel = new JSONModel({
				Userid: "",
				Name1: "",
				Name2: "",
				Name3: "",
				Email: "",
				Sapid: "",
				Tel: "",
				Wechat: "",
				Inactive: "",
				Language: "",
				Subcategories: "",
				Swiftsaphost: ""
			});
			oModel.setDefaultBindingMode("TwoWay");
			return oModel;
		}
	};
});